
public class PizzaLover {
	
	// creaza toate tipurile de pizza si le afiseaza pretul
	public static void main (String args[]){
		for (PizzaFactory.PizzaType pizzaType : PizzaFactory.PizzaType.values()){
			System.out.println("Price of "+pizzaType+" is "+PizzaFactory.createPizza(pizzaType).getPrice());
		}
	}
}
